package model;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the target_tag database table.
 * 
 */
@Entity
@Table(name="target_tag")
public class TargetTag implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int tartagid;

	//bi-directional many-to-one association to Tag
    @ManyToOne
	@JoinColumn(name="tag")
	private Tag tagBean;

	//bi-directional many-to-one association to Myuser
    @ManyToOne
	@JoinColumn(name="user")
	private Myuser myuser;

	//bi-directional many-to-one association to Target
    @ManyToOne
	@JoinColumn(name="target")
	private Target targetBean;

    public TargetTag() {
    }

	public int getTartagid() {
		return this.tartagid;
	}

	public void setTartagid(int tartagid) {
		this.tartagid = tartagid;
	}

	public Tag getTagBean() {
		return this.tagBean;
	}

	public void setTagBean(Tag tagBean) {
		this.tagBean = tagBean;
	}
	
	public Myuser getMyuser() {
		return this.myuser;
	}

	public void setMyuser(Myuser myuser) {
		this.myuser = myuser;
	}
	
	public Target getTargetBean() {
		return this.targetBean;
	}

	public void setTargetBean(Target targetBean) {
		this.targetBean = targetBean;
	}
	
}